package com.domi.service.fallback;

import com.domi.bean.RestfulResponse;
import com.domi.service.UnstableBookService;
import org.springframework.stereotype.Component;

@Component
public class UnstableBookServiceFallback implements UnstableBookService {

    @Override
    public RestfulResponse flight() {
        return RestfulResponse.create(RestfulResponse.ResponseCode.SUCCESS, "UnstableBookService Fallback");
    }

}